package com.myschool.dao;

import com.myschool.pojo.Subject;

import java.util.List;

public interface SubjectDao {
    int add(Subject subject);
    int deleteSubject(int subjectno);
    int updateSubject(Subject subject);
    <T>List<T> showSubject(Class classz);
    List findBySubjectId(int subjectno,Class classz);
}
